﻿using System.Linq;
using System.Transactions;
using www.Core.Contract.DataContract;
using www.Data.BO;

namespace www.Controllerss
{
    public class LanguageController
    {
        #region Value
        private readonly LanguageBO _languageBo = new LanguageBO();

        #endregion

        #region Ham Lay du lieu

        public IQueryable <RelaxLanguageDataContract> GetLanguageDataContracts()
        {
            using (var scope = new TransactionScope())
            {
                var lReturn = _languageBo.GetLanguageDataContracts();
                scope.Complete();
                return lReturn;
            }
        }
        #endregion

        #region Ham Add


        #endregion

        #region Ham Update


        #endregion

        #region Ham Delete

        #endregion
    }
}